import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
    mode: 'history',
    routes: [{
            path: '/',
            name: 'HelloWorld',
            component: HelloWorld
        },
        {
            path: '/Setting',
            name: 'Setting',
            component: () =>
                import ('@/components/setting')
        },
        {
            path: '/WxAd',
            name: 'WxAd',
            component: () =>
                import ('@/components/xadd')
        },
        {
            path: '/orderList',
            name: 'orderList',
            component: () =>
                import ('@/components/order')
        },

    ]
})